package Bk.basic;

public class J02_Math2Java {

	public static void main(String[] args) {

		int x=3;
		int y=4;
		int z=5;
		int s;
		int s0=6;
		int v0=2;
		int t=5;
		int g=3;		
		
		
		System.out.println("3x =" + 3*x);
		System.out.println("3x+y ="+3*x + y);
		System.out.println("x+y/7 ="+(x+y)/7 );		
		System.out.println("(3x+y)/(z+2) =" +(3*x + y)/(z + 2));		
		System.out.println("s = s0 + v0t + gtt/2 =" +( s=s0 + (v0*t) + (g*t*t)/2));		
	
		
	}

}
